fix the build. Dunno if the fix is right, but I think it is.
authorMichael Natterer <mitch@imendio.com>
Wed, 25 Apr 2007 09:47:14 +0000 (09:47 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Wed, 25 Apr 2007 09:47:14 +0000 (09:47 +0000)
2007-04-25  Michael Natterer  <mitch@imendio.com>

* gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
build. Dunno if the fix is right, but I think it is.

svn path=/trunk/; revision=17629

ChangeLog
gtk/gtkprintoperation.c

index 47bb06cde21cfc30de834ae65eb49b4db9414598..52e7d2e8b9ff01b95e6922b9bf3b7030f58858be 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-25  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
+       build. Dunno if the fix is right, but I think it is.
+
 2007-04-25  Kristian Rietveld  <kris@imendio.com>
 
        * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
index e1189d762fa635877a3cc849dba042f8a586b9a1..d40465b04b543473b909b114c3a08c7513b19fd5 100644 (file)
@@ -214,7 +214,7 @@ preview_iface_is_selected (GtkPrintOperationPreview *preview,
       for (i = 0; i < priv->num_page_ranges; i++)
        {
          if (page_nr >= priv->page_ranges[i].start &&
-             (page_nr <= priv->page_ranges[i].end || page_ranges[i].end == -1)
+             (page_nr <= priv->page_ranges[i].end || priv->page_ranges[i].end == -1))
            return TRUE;
        }
       return FALSE;